<?php
include("header.php");

$db = new Database(DB_SERVER, DB_USER, DB_PASS, DB_DATABASE);
$db->connect();
$sql = "SELECT * FROM `website`";
$record = $db->query_first($sql);
$record["visites"] = $record["visites"]+1;
$db->update("website", $record,"id=".$record["id"]);
$db->close();
?>
<div class="homeMap"><img src="<?=get_local_value($_lang,"homemap")?>" width="1002" height="632" border="0" usemap="#Map" />
  <map name="Map" id="Map">
    <area shape="rect" coords="544,138,627,211" href="#" title=""/>
    <area shape="rect" coords="717,129,793,204" href="#" title=""/>
    <area shape="rect" coords="767,219,845,299" href="country.php?countryid=1&name=liban" title=""/>
    <area shape="rect" coords="868,261,944,341" href="country.php?countryid=2&name=iran" title="" />
    <area shape="rect" coords="660,377,746,448" href="country.php?countryid=3&name=egypte" title="" />
    <area shape="rect" coords="355,257,445,332" href="country.php?countryid=4&name=tunisie" title=""/>
    <area shape="rect" coords="228,369,334,444" href="country.php?countryid=5&name=algerie" title="" />
    <area shape="rect" coords="98,267,199,368" href="country.php?countryid=6&name=maroc" title="" />
  </map>
</div>


<?php
include("foot.php");
?>
